<style>
.toolbar{width: 1000px;height: 90px;color: #7d7d7d;}
.toolbar a{color: #7d7d7d;}
.toolbar_td1{width: 900px; text-align: left;}
.toolbar_td2{width: 40px;white-space: nowrap;font-size:12px;}
.toolbar_td3{padding: 0 10px;}
</style>

{{if isset($u) && $u !== '[]'}}
<table class="toolbar" cellPadding="0" cellSpacing="0" id="toolbar_table2">
  <tr>
    <td class="toolbar_td1">
      <img onclick="location.href='http://{{$smarty.const.DOMAIN|escape:html}}{{$smarty.const.PATH|escape:html}}';" src="templates/ui/default/assets/logo.png"></img>
    </td>
    <td class="toolbar_td2"><a href="?i=13">SHOPPING CART</a></td>
    <td class="toolbar_td3">|</td>
    <td class="toolbar_td2"><a href="?i=21">ACCOUNT</a></td>
    <td class="toolbar_td3">|</td>
    <td class="toolbar_td2"><a href="?logout">LOG OUT</a></td>
  </tr>
</table>
{{else}}
<table class="toolbar" cellPadding="0" cellSpacing="0" id="toolbar_table1">
  <tr>
    <td class="toolbar_td1">
      <img onclick="location.href='http://{{$smarty.const.DOMAIN|escape:html}}{{$smarty.const.PATH|escape:html}}';" src="templates/ui/default/assets/logo.png"></img>
    </td>
    <td class="toolbar_td2"><a href="?i=5">LOGIN</a></td>
    <td class="toolbar_td3">|</td>
    <td class="toolbar_td2"><a href="?i=5&act=register">SIGN UP</a></td>
  </tr>
</table>
{{/if}}

